.class public Lcom/estrongs/android/ui/theme/b;
.super Ljava/lang/Object;
.source "ThemeManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/theme/b$a;
    }
.end annotation


# static fields
.field private static f:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private static g:Lcom/estrongs/android/ui/theme/b;

.field private static volatile h:I


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/content/Context;

.field private c:Lcom/estrongs/android/ui/theme/a;

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/theme/a;",
            ">;"
        }
    .end annotation
.end field

.field private e:Z


# direct methods
.method static constructor <clinit>()V
    .locals 3

    .line 1
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/estrongs/android/ui/theme/b;->f:Ljava/util/Map;

    const-string v1, "lock_dawn_theme"

    const-string v2, "com.estrongs.android.pop.dawn"

    .line 2
    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 3
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->f:Ljava/util/Map;

    const-string v1, "lock_summer_theme"

    const-string v2, "com.estrongs.android.pop.blue"

    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->f:Ljava/util/Map;

    const-string v1, "lock_theme"

    const-string v2, "com.estrongs.android.pop.dark"

    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const/4 v0, 0x0

    .line 5
    sput-object v0, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    const/4 v0, -0x1

    .line 6
    sput v0, Lcom/estrongs/android/ui/theme/b;->h:I

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/ui/theme/b;->s()V

    return-void
.end method

.method private a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
    .locals 2

    const/4 v0, 0x0

    .line 17
    :try_start_0
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    instance-of v1, v1, Lcom/estrongs/android/pop/esclasses/l;

    if-eqz v1, :cond_0

    .line 18
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/esclasses/l;

    invoke-virtual {p1, p2, v0}, Lcom/estrongs/android/pop/esclasses/l;->a(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    goto :goto_0

    .line 19
    :cond_0
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    move-object v0, p1

    goto :goto_1

    :catch_0
    move-exception p1

    .line 20
    invoke-virtual {p1}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    :goto_1
    return-object v0
.end method

.method private a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 55
    :try_start_0
    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getConstantState()Landroid/graphics/drawable/Drawable$ConstantState;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable$ConstantState;->newDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 56
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 57
    invoke-static {v0}, Landroidx/core/graphics/drawable/DrawableCompat;->wrap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 58
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p2

    invoke-static {v0, p2}, Landroidx/core/graphics/drawable/DrawableCompat;->setTint(Landroid/graphics/drawable/Drawable;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    return-object p1
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 2
    .param p0    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p1    # Ljava/lang/String;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 59
    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    return v1

    .line 60
    :cond_0
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    const/4 v0, 0x0

    .line 61
    :try_start_0
    invoke-virtual {p0, p1, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz p0, :cond_1

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    :goto_0
    return v1

    :catch_0
    return v0
.end method

.method private b(Lcom/estrongs/android/ui/theme/a;)Z
    .locals 1

    .line 1
    iget p1, p1, Lcom/estrongs/android/ui/theme/a;->e:I

    invoke-static {}, Lcom/estrongs/android/pop/a;->a()I

    move-result v0

    if-lt p1, v0, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method private g(Ljava/lang/String;)Landroid/content/pm/PackageInfo;
    .locals 2
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    const/4 v1, 0x0

    .line 6
    :try_start_0
    invoke-virtual {v0, p1, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    const/4 p1, 0x0

    return-object p1
.end method

.method private p()V
    .locals 3

    .line 1
    :try_start_0
    invoke-virtual {p0}, Lcom/estrongs/android/ui/theme/b;->n()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    .line 4
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 5
    new-instance v1, Ljava/io/File;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "/custom_background"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 7
    invoke-virtual {v1}, Ljava/io/File;->delete()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 8
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public static q()V
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/b;->n()V

    :cond_0
    const/4 v0, 0x0

    .line 3
    sput-object v0, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    return-void
.end method

.method public static r()Lcom/estrongs/android/ui/theme/b;
    .locals 3

    .line 1
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/estrongs/android/ui/theme/b;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/estrongs/android/ui/theme/b;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/estrongs/android/ui/theme/b;-><init>(Landroid/content/Context;)V

    sput-object v1, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    .line 5
    sget-object v1, Lcom/estrongs/fs/l;->c:Lcom/estrongs/fs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v2}, Lcom/estrongs/android/ui/theme/b;->f()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-static {v1, v2}, Les/rj;->a(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .line 6
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 7
    :cond_1
    :goto_0
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->g:Lcom/estrongs/android/ui/theme/b;

    return-object v0
.end method

.method private s()V
    .locals 3

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->y()Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/theme/b;->g(Ljava/lang/String;)Landroid/content/pm/PackageInfo;

    move-result-object v1

    if-eqz v0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v2

    invoke-virtual {v2}, Landroid/app/Application;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    iput-boolean v2, p0, Lcom/estrongs/android/ui/theme/b;->e:Z

    if-nez v2, :cond_1

    const/4 v1, 0x0

    :cond_1
    if-eqz v1, :cond_3

    .line 4
    new-instance v2, Lcom/estrongs/android/ui/theme/a;

    invoke-direct {v2}, Lcom/estrongs/android/ui/theme/a;-><init>()V

    .line 5
    iput-object v0, v2, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    .line 6
    iget v1, v1, Landroid/content/pm/PackageInfo;->versionCode:I

    iput v1, v2, Lcom/estrongs/android/ui/theme/a;->e:I

    .line 7
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    .line 8
    invoke-direct {p0, v2}, Lcom/estrongs/android/ui/theme/b;->b(Lcom/estrongs/android/ui/theme/a;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 9
    invoke-virtual {p0, v2}, Lcom/estrongs/android/ui/theme/b;->a(Lcom/estrongs/android/ui/theme/a;)V

    goto :goto_1

    .line 10
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->a(Ljava/lang/String;)Z

    goto :goto_1

    .line 11
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->a(Ljava/lang/String;)Z

    :goto_1
    return-void
.end method


# virtual methods
.method public a(I)I
    .locals 4

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return p1

    .line 31
    :cond_0
    :try_start_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/b;->e:Z

    if-nez v0, :cond_1

    .line 32
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getColor(I)I

    move-result p1

    goto :goto_0

    .line 33
    :cond_1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->f(I)Ljava/lang/String;

    move-result-object v0

    .line 34
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const-string v2, "color"

    iget-object v3, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v0, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 35
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getColor(I)I

    move-result p1
    :try_end_0
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 36
    :catch_0
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getColor(I)I

    move-result p1

    :goto_0
    return p1
.end method

.method public a()Landroid/graphics/drawable/Drawable;
    .locals 1

    const v0, 0x7f0800e1

    .line 42
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    return-object v0
.end method

.method public a(II)Landroid/graphics/drawable/Drawable;
    .locals 0

    .line 25
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
    .locals 8

    .line 26
    new-instance v0, Lcom/estrongs/android/ui/theme/b$a;

    const/4 v1, 0x2

    new-array v2, v1, [I

    fill-array-data v2, :array_0

    invoke-direct {v0, v2, p2}, Lcom/estrongs/android/ui/theme/b$a;-><init>([ILandroid/graphics/drawable/Drawable;)V

    .line 27
    new-instance v2, Lcom/estrongs/android/ui/theme/b$a;

    const/4 v3, 0x1

    new-array v4, v3, [I

    const v5, 0x10100a7

    const/4 v6, 0x0

    aput v5, v4, v6

    invoke-direct {v2, v4, p2}, Lcom/estrongs/android/ui/theme/b$a;-><init>([ILandroid/graphics/drawable/Drawable;)V

    .line 28
    new-instance v4, Lcom/estrongs/android/ui/theme/b$a;

    new-array v5, v3, [I

    const v7, 0x101009c

    aput v7, v5, v6

    invoke-direct {v4, v5, p2}, Lcom/estrongs/android/ui/theme/b$a;-><init>([ILandroid/graphics/drawable/Drawable;)V

    .line 29
    new-instance p2, Lcom/estrongs/android/ui/theme/b$a;

    new-array v5, v6, [I

    invoke-direct {p2, v5, p1}, Lcom/estrongs/android/ui/theme/b$a;-><init>([ILandroid/graphics/drawable/Drawable;)V

    const/4 p1, 0x4

    new-array p1, p1, [Lcom/estrongs/android/ui/theme/b$a;

    aput-object v0, p1, v6

    aput-object v2, p1, v3

    aput-object v4, p1, v1

    const/4 v0, 0x3

    aput-object p2, p1, v0

    .line 30
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->a([Lcom/estrongs/android/ui/theme/b$a;)Landroid/graphics/drawable/StateListDrawable;

    move-result-object p1

    return-object p1

    nop

    :array_0
    .array-data 4
        0x101009c
        0x10100a7
    .end array-data
.end method

.method public a([Lcom/estrongs/android/ui/theme/b$a;)Landroid/graphics/drawable/StateListDrawable;
    .locals 4

    .line 21
    new-instance v0, Landroid/graphics/drawable/StateListDrawable;

    invoke-direct {v0}, Landroid/graphics/drawable/StateListDrawable;-><init>()V

    const/4 v1, 0x0

    .line 22
    :goto_0
    array-length v2, p1

    if-ge v1, v2, :cond_0

    .line 23
    aget-object v2, p1, v1

    .line 24
    iget-object v3, v2, Lcom/estrongs/android/ui/theme/b$a;->a:[I

    iget-object v2, v2, Lcom/estrongs/android/ui/theme/b$a;->b:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v3, v2}, Landroid/graphics/drawable/StateListDrawable;->addState([ILandroid/graphics/drawable/Drawable;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public a(ILandroid/util/TypedValue;)Ljava/io/InputStream;
    .locals 4

    .line 43
    :try_start_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/b;->e:Z

    if-nez v0, :cond_1

    .line 44
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    instance-of v0, v0, Lcom/estrongs/android/pop/esclasses/l;

    if-eqz v0, :cond_0

    .line 45
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/l;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/pop/esclasses/l;->a(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1

    return-object p1

    .line 46
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Landroid/content/res/Resources;->openRawResource(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1

    return-object p1

    .line 47
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getResourceEntryName(I)Ljava/lang/String;

    move-result-object v0

    .line 48
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const-string v2, "drawable"

    iget-object v3, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v0, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 49
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    instance-of v1, v1, Lcom/estrongs/android/pop/esclasses/l;

    if-eqz v1, :cond_2

    .line 50
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/esclasses/l;

    invoke-virtual {v1, v0, p2}, Lcom/estrongs/android/pop/esclasses/l;->a(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1

    return-object p1

    .line 51
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v0, p2}, Landroid/content/res/Resources;->openRawResource(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1
    :try_end_0
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    nop

    .line 52
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    instance-of v0, v0, Lcom/estrongs/android/pop/esclasses/l;

    if-eqz v0, :cond_3

    .line 53
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/l;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/pop/esclasses/l;->a(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1

    return-object p1

    .line 54
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Landroid/content/res/Resources;->openRawResource(ILandroid/util/TypedValue;)Ljava/io/InputStream;

    move-result-object p1

    return-object p1
.end method

.method public a(Lcom/estrongs/android/ui/theme/a;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;)Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->b()V

    .line 4
    :cond_0
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/theme/a;->d(Landroid/content/Context;)V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/theme/a;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_0

    .line 37
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    .line 38
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    if-eqz p1, :cond_2

    .line 39
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/theme/a;

    .line 40
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 41
    iput-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    :cond_2
    return-void
.end method

.method public a(Ljava/lang/String;)Z
    .locals 5

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return v0

    .line 6
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/theme/b;->g(Ljava/lang/String;)Landroid/content/pm/PackageInfo;

    move-result-object v1

    if-eqz v1, :cond_4

    const/4 v0, 0x0

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    if-eqz v2, :cond_2

    .line 8
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/ui/theme/a;

    .line 9
    iget-object v4, v3, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {p1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    move-object v0, v3

    :cond_2
    if-nez v0, :cond_3

    .line 10
    new-instance v0, Lcom/estrongs/android/ui/theme/a;

    invoke-direct {v0}, Lcom/estrongs/android/ui/theme/a;-><init>()V

    .line 11
    iget-object v2, v1, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;

    iput-object v2, v0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    .line 12
    iget v2, v1, Landroid/content/pm/PackageInfo;->versionCode:I

    iput v2, v0, Lcom/estrongs/android/ui/theme/a;->e:I

    .line 13
    :cond_3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, v0, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    .line 14
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->a(Lcom/estrongs/android/ui/theme/a;)V

    .line 15
    iget-object p1, v1, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->f(Ljava/lang/String;)V

    .line 16
    invoke-direct {p0}, Lcom/estrongs/android/ui/theme/b;->p()V

    const/4 p1, 0x1

    return p1

    :cond_4
    return v0
.end method

.method public b()Landroid/content/Context;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    return-object v0
.end method

.method public b(I)Landroid/graphics/drawable/Drawable;
    .locals 3

    .line 8
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 9
    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v0

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v1

    const/4 v2, 0x0

    invoke-virtual {p1, v2, v2, v0, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    :cond_0
    return-object p1
.end method

.method public b(II)Landroid/graphics/drawable/Drawable;
    .locals 0

    .line 10
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    .line 11
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    .line 4
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "drawable"

    invoke-virtual {v0, p1, v2, v1}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    instance-of v0, v0, Lcom/estrongs/android/pop/esclasses/l;

    if-eqz v0, :cond_0

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/l;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/android/pop/esclasses/l;->a(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    goto :goto_0

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    :goto_0
    return-object p1
.end method

.method public c(I)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 2
    :try_start_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/theme/b;->e:Z

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-direct {p0, v0, p1}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->f(I)Ljava/lang/String;

    move-result-object v0

    .line 5
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    nop

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    if-nez v0, :cond_1

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    .line 8
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-direct {p0, v0, p1}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    :goto_0
    if-eqz p1, :cond_2

    .line 9
    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getChangingConfigurations()I

    move-result v0

    or-int/lit8 v0, v0, 0x8

    invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->setChangingConfigurations(I)V

    :cond_2
    return-object p1
.end method

.method public c(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
    .locals 0

    const p1, 0x7f0803d1

    .line 10
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public c()Lcom/estrongs/android/ui/theme/a;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    return-object v0
.end method

.method public d()I
    .locals 4

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    :cond_0
    const/4 v0, 0x0

    .line 6
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v0, v2, :cond_2

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/ui/theme/a;

    .line 8
    iget-object v3, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    iget-object v2, v2, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    return v0

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    return v1
.end method

.method public d(I)Landroid/graphics/drawable/Drawable;
    .locals 3

    const v0, 0x7f0803d1

    .line 9
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    iget-object v2, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v1, v2, p1}, Lcom/estrongs/android/ui/theme/a;->a(Landroid/content/Context;I)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    if-nez v1, :cond_0

    .line 10
    :try_start_1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    nop

    :cond_0
    :goto_0
    if-nez v1, :cond_1

    .line 11
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    :cond_1
    return-object v1

    .line 12
    :catch_1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public d(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    .line 1
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->f:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v0

    .line 2
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map$Entry;

    .line 3
    invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v2, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 4
    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    return-object p1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public e(I)Landroid/graphics/drawable/Drawable;
    .locals 0

    const p1, 0x7f0803d1

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public e()Ljava/lang/String;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/ui/theme/b;->f:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    return-object p1
.end method

.method public f()Landroid/graphics/drawable/Drawable;
    .locals 2

    const v0, 0x7f0803d1

    .line 3
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    invoke-virtual {v1}, Lcom/estrongs/android/ui/theme/a;->d()Ljava/lang/String;

    move-result-object v1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    if-eqz v1, :cond_0

    .line 4
    :try_start_1
    invoke-virtual {p0, v1}, Lcom/estrongs/android/ui/theme/b;->c(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v0
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    return-object v0

    .line 5
    :catch_0
    :cond_0
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    return-object v0

    .line 6
    :catch_1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    return-object v0
.end method

.method public f(I)Ljava/lang/String;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getResourceEntryName(I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public f(Ljava/lang/String;)V
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/l;->P(Ljava/lang/String;)V

    return-void
.end method

.method public g()I
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 2
    :try_start_0
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->d()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const-string v2, "drawable"

    iget-object v3, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v0, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const/4 v1, -0x1

    if-eq v0, v1, :cond_0

    return v0

    :catch_0
    move-exception v0

    .line 4
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_0
    const v0, 0x7f0803d1

    return v0
.end method

.method public g(I)Landroid/graphics/drawable/Drawable;
    .locals 1

    const v0, 0x7f060143

    .line 7
    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public h()I
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->g()I

    move-result v0

    const/high16 v1, -0x80000000

    if-eq v0, v1, :cond_0

    return v0

    :cond_0
    const v0, 0x7f060023

    .line 3
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    return v0
.end method

.method public h(I)Z
    .locals 3

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/theme/b;->f(I)Ljava/lang/String;

    move-result-object p1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    const/4 v2, 0x1

    invoke-virtual {v0, v1, p1, v2}, Lcom/estrongs/android/ui/theme/a;->a(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result p1

    return p1

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method public i()I
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->i()I

    move-result v0

    const/high16 v1, -0x80000000

    if-eq v0, v1, :cond_0

    return v0

    :cond_0
    const v0, 0x7f060250

    .line 3
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    return v0
.end method

.method public j()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/theme/a;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    return-object v0
.end method

.method public k()Z
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 2
    iget-object v0, v0, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    const-string v2, "lock_dawn_theme"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    iget-object v0, v0, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    const-string v2, "lock_theme"

    .line 3
    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v1, 0x1

    :cond_1
    return v1
.end method

.method public l()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->k()Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public m()Z
    .locals 4

    .line 1
    sget v0, Lcom/estrongs/android/ui/theme/b;->h:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, -0x1

    if-ne v0, v3, :cond_1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/utils/t;->i(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    sput v1, Lcom/estrongs/android/ui/theme/b;->h:I

    goto :goto_0

    .line 4
    :cond_0
    sput v2, Lcom/estrongs/android/ui/theme/b;->h:I

    .line 5
    :cond_1
    :goto_0
    sget v0, Lcom/estrongs/android/ui/theme/b;->h:I

    if-ne v0, v2, :cond_2

    const/4 v1, 0x1

    :cond_2
    return v1
.end method

.method public n()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 2
    :goto_0
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/b;->d:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/theme/a;

    invoke-virtual {v1}, Lcom/estrongs/android/ui/theme/a;->b()V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->c:Lcom/estrongs/android/ui/theme/a;

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/ui/theme/a;->b()V

    :cond_1
    return-void
.end method

.method public o()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/b;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Application;->getPackageName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method
